//
//  PostImgTableViewCell.h
//  BusineseStore
//
//  Created by 闪风猫 on 2017/11/25.
//  Copyright © 2017年 TNG. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^watchVidow)(UIViewController *ctr);
typedef void (^seeImg)(NSInteger index);

@protocol PostImgTableViewCellDelegate <NSObject>

-(void)sendPostImgTableViewCellDeleteEvent:(NSInteger)index;
-(void)sendPostImgTableViewCellAddImgEvent:(NSInteger)index;

@end

@interface PostImgTableViewCell : UITableViewCell <UICollectionViewDelegate,UICollectionViewDataSource>

@property (strong, nonatomic) UICollectionView * collectionView;
@property (strong, nonatomic) NSMutableArray * imgArr;
@property (strong, nonatomic) NSMutableArray * selectedAssets;
@property (nonatomic,assign) id <PostImgTableViewCellDelegate> delegate;
@property (nonatomic,copy) watchVidow watchVidowBlock;
@property (nonatomic,copy) seeImg seeImgBlock;

-(void)sendImgArr:(NSMutableArray *)imgArr;

@end


